<?php /* Smarty version 3.1.27, created on 2017-06-07 08:48:17
         compiled from "E:\wamp\www\mvc-zq\views\index\Index.html" */ ?>
<?php
/*%%SmartyHeaderCode:64615937bdd1a855f4_09948321%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '93dfadfc37f28406f63eb50404d2728b3bcba7d3' => 
    array (
      0 => 'E:\\wamp\\www\\mvc-zq\\views\\index\\Index.html',
      1 => 1496825209,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '64615937bdd1a855f4_09948321',
  'variables' => 
  array (
    'list' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_5937bdd1b48b18_35727281',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_5937bdd1b48b18_35727281')) {
function content_5937bdd1b48b18_35727281 ($_smarty_tpl) {

$_smarty_tpl->properties['nocache_hash'] = '64615937bdd1a855f4_09948321';
?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <table>
        <tr>
            <th>ID</th>
            <th>名字</th>
            <th>性别</th>
            <th>电话</th>
        </tr>
        <?php
$_from = $_smarty_tpl->tpl_vars['list']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['v'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['v']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
$foreach_v_Sav = $_smarty_tpl->tpl_vars['v'];
?>
        <tr>
            <td><?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
</td>
            <td><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
</td>
            <td>
            <?php if ($_smarty_tpl->tpl_vars['v']->value['sex'] == 0) {?> 女
            <?php } elseif ($_smarty_tpl->tpl_vars['v']->value['sex'] == 1) {?> 男
            <?php } else { ?> 保密
            <?php }?>
            </td>
            <td><?php echo $_smarty_tpl->tpl_vars['v']->value['tel'];?>
</td>
        </tr>
        <?php
$_smarty_tpl->tpl_vars['v'] = $foreach_v_Sav;
}
?>
    </table>
</body>
</html><?php }
}
?>